import java.util.Scanner;

public class Competition {

    public static void main(String[] args) {

        Scanner score = new Scanner(System.in);
        System.out.println("请输入成绩：");
        double s = score.nextDouble();
        Scanner gender = new Scanner(System.in);
        System.out.println("请输入性别：");
        char g = gender.next().charAt(0);
        if(s >= 8.0){
            if(g == '男'){
                System.out.println("进入决赛===》男子组");
            }else{
                System.out.println("进入决赛===》女子组");
            }
        }else{
            System.out.println("sorry,你未进入决赛");
        }



    }


}
